package com.wangmeng.book.client.frame;

import java.io.Serializable;

/**
 * User: 王猛
 * Date: 13-9-29
 */
public class PartitionComboxItem implements Serializable {
    private String code;
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int hashCode() {
        return (code + "_" + name).hashCode();
    }

    @Override
    public String toString() {
        return name;
    }
}
